#region Using

using System;
using System.Text;
using System.Data;
using System.Drawing;
using System.ComponentModel;
using System.Collections.Generic;


using Gizmox.WebGUI;
using Gizmox.WebGUI.Forms;
using Gizmox.WebGUI.Forms.Skins;
using Gizmox.WebGUI.Common;
using Gizmox.WebGUI.Forms.Design;
using Gizmox.WebGUI.Common.Interfaces;
using Gizmox.WebGUI.Common.Extensibility;


#endregion

namespace TVC.Modules.CustomControl
{
    /// <summary>
    /// Summary description for BindingListView
    /// </summary>
    [ToolboxItem(true)]
    [ToolboxBitmapAttribute(typeof(BindingListView), "TVC.Modules.CustomControl.BindingListView.bmp")]
    [DesignTimeController("Gizmox.WebGUI.Forms.Design.PlaceHolderController, Gizmox.WebGUI.Forms.Design, Version=4.0.5701.0 , Culture=neutral, PublicKeyToken=dd2a1fd4d120c769")]
    [ClientController("Gizmox.WebGUI.Client.Controllers.PlaceHolderController, Gizmox.WebGUI.Client, Version=4.0.5701.0 , Culture=neutral, PublicKeyToken=0fb8f99bd6cd7e23")]
    [Serializable()]
    [MetadataTag("TVC.Modules.CustomControl.BindingListView")]
    [Skin(typeof(BindingListViewSkin))]
    public partial class BindingListView : ListView
    {
        public BindingListView()
        {


            InitializeComponent();
        }


        protected override void RenderAttributes(IContext context, IAttributeWriter writer)
        {
            base.RenderAttributes(context, writer);

            writer.WriteAttributeString(WGAttributes.Text, Text);
        }

        public override string Text
        {
            get
            {
                return base.Text;
            }
            set
            {
                if (base.Text != value)
                {
                    base.Text = value;
                    this.Update();
                }
            }
        }
    }
    public partial class ListViewLookupSubItem : ListViewItem.ListViewSubControlItem
    {
        public ListViewLookupSubItem(ListViewItem it, LookupBox lk)
            : base(it, lk)
        {
        }
        public ListViewLookupSubItem(LookupBox lk)
            : base(lk)
        {
        }
    }

}